package com.speedtickets.rest.services;

import java.util.List;

import com.speedtickets.rest.models.Ticket;

public interface ITicketService {
	
	public void createTicket( Ticket t ) throws Exception;
	
	public void updateTicket( Ticket t ) throws Exception;
	
	public void deleteTicket( Ticket t ) throws Exception;
	
	public List<Ticket>findAllTickets() throws Exception;
	
	public List<Ticket>findAllTickets(Integer limit, Integer offset) throws Exception;
	
	public Ticket findTicketById( Long id ) throws Exception;

}
